<!-- $Id: plugins.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<!-- start integrate plugins list -->
<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='3'>
  <tr>
    <th>{$lang.plugin_name}</th>
    <th>{$lang.plugin_version}</th>
    <th>{$lang.plugin_desc}</th>
    <th>{$lang.plugin_author}</th>
    <th>{$lang.handler}</th>
  </tr>
  
  {if $error}
    <tr><td valign="top" colspan="5" style="text-align:center;">{$error}</td></tr>
  {else}
    {foreach from=$modules item=module}
    <tr>
        <td class="first-cell" valign="top" nowrap="true">{$module.name}</td>
        <td valign="top" nowrap="true">{$module.version}</td>
        <td valign="top">{$module.desc}</td>
        <td valign="top" nowrap="true"><a href="{$module.website}" target="_blank">{$module.author}</a></td>
        <td align="center" valign="top" nowrap="true">
            {if $module.setup eq 1}
            <a href="javascript:confirm_redirect('{$lang.uninstall_confirm}', 'plugins.php?m=uninstall&code={$module.code}&author={$module.author}&version={$module.version}&dir={$module.dir}')">{$lang.uninstall}</a>
            {else}
            <a href="plugins.php?m=install&code={$module.code}&author={$module.author}&version={$module.version}&dir={$module.dir}">{$lang.install}</a>
            {/if}
        </td>
    </tr>
    {/foreach}
  {/if}
</table>
</div>
<!-- end integrate plugins list -->
{literal}
<script type="Text/Javascript" language="JavaScript">
<!--
onload = function()
{
  // 开始检查订单
  startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}